package lng.site.tatoo.dao;

import java.util.List;
import java.sql.Timestamp;

import lng.site.tatoo.IDao.TatooRoleIDAO;
import lng.site.tatoo.model.TatooRole;

import org.hibernate.criterion.Restrictions;

/**
*
 */
public class TatooRoleDAO extends
		AbstractDAO<TatooRole, Integer> implements
		TatooRoleIDAO {

	/**
	 * Find TatooRole by role
	 */
	public List<TatooRole> findByRole(String role) {
		return findByCriteria(Restrictions.eq("role", role));
	}
	

}
